﻿using System;
using System.Windows;

namespace GreenXi.Pages.index
{
    /// <summary>
    /// PopupMenu.xaml 的交互逻辑
    /// </summary>
    public partial class PopupMenu : Window
    {
        public PopupMenu()
        {
            InitializeComponent();
        }
        public event Action<double, double> ParentMoveAction;

        private void Window_LocationChanged_1(object sender, EventArgs e)
        {
            ParentMoveAction?.Invoke(this.Left, this.Top);
        }

    }
}
